<div id="main0" style="height: 400px;">

</div>
<script type="text/javascript" src="__ROOT__/Public/js/echarts.min.js"></script>
<script>
	$(document).ready(function() {
	    $(".stat_top div").click(function() {
	        $(".stat_top div").eq($(this).index()).addClass("active").siblings().removeClass('active');
	        $(".bill_con").hide().eq($(this).index()).show();
	    });
	    $(".stat_top_l").click(function () {
			$(".head_right .iconfont").addClass("icon-riqi1").removeClass("icon-riqi");
		});
		$(".stat_top_r").click(function () {
			$(".head_right .iconfont").addClass("icon-riqi").removeClass("icon-riqi1");
		});
		
		var myChart = echarts.init(document.getElementById("main0"));
		option = {
		    xAxis: {
		        type: 'category',
		        data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
		    },
		    yAxis: {
		        type: 'value'
		    },
		    series: [{
		        data: [820, 932, 901, 934, 1290, 1330, 1320],
		        type: 'line'
		    }]
		};
		myChart.setOption(option);
	});
</script>